import { createStore, applyMiddleware } from 'redux'
import { combineReducers } from 'redux-immutable'
import thunk from 'redux-thunk'
import user from './reducers/user'

const reducer = combineReducers({
  user
})

const store = createStore(reducer, applyMiddleware(thunk))

export default store